

#ifndef _I2C_DRIVER
#define _I2C_DRIVER

#define I2C_START 0
#define I2C_DATA 1
#define I2C_DATA_ACK 2
#define I2C_STOP 3
#define ACK 1
#define NACK 0

void i2cInit(void);

void i2cStart(void);

void i2cWrite(unsigned char data);

unsigned char i2cRead(unsigned char ackVal);

void i2cStop();


#endif
